Utils\ShipanyHelper D

Total Complexity 267
Dependencies 11
Dependents 12
Total lines 1,131
Lines of code 981
Logical lines of code 526
Comment lines 65
Methods 34
Properties 7

Methods 34

Method Rating Maintainability Complexity Lines of code
build_shipany_order_payload()
D
14
66 260
get_latest_locker_list()
D
27
44 119
build_for_create_order()
A
42 12 47
calculate_order_weight()
A
46 12 36
getApiUrlAndRealTk()
A
47 11 34
unparse_url()
A
58 11 12
create_order()
A
40 7 63
get_merchant_locations()
A
48 8 32
get_cloudflare_url()
A
49 8 29
query_rate()
A
56 8 17
get_latest_locaker_list_version_datetime()
S
52 7 25
_create_order()
S
55 7 19
get_supported_storage_types()
S
49 6 32
get_tracking_note()
S
53 6 20
better_wc_price()
S
53 5 22
get_courier_service_point_locations()
S
57 5 16
get_couriers()
S
59 5 15
get_courier_service_location()
S
61 4 12
get_all_order_status()
S
45 1 45
extractApiKeyEnvironment()
S
60 3 14
get_tracking_note_by_order_id()
S
60 3 13
get_tracking_url_by_order_id()
S
62 3 11
__construct()
S
55 2 18
get_wc_payments_localization_service()
S
70 3 6
get_merchant_info()
S
65 3 9
getRegions()
S
68 3 7
get_tracking_url()
S
62 3 10
get_settings()
S
74 2 4
convert_wc_weight_to_kg()
S
66 2 8
get_tracking_note_type()
S
69 2 7
getInstance()
S
71 2 6
update_settings()
S
72 1 5
reload()
S
74 1 5
get_shipany_label_file_info()
S
79 1 3